package cn.tedu.xzs.admin.questionmanagement.dao.persist.mapper;

import cn.tedu.xzs.admin.questionmanagement.pojo.entity.Question;
import cn.tedu.xzs.admin.questionmanagement.pojo.vo.QuestionDetailVO;
import cn.tedu.xzs.admin.questionmanagement.pojo.vo.QuestionVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface QuestionMapper extends BaseMapper<Question> {
    Long getLatestQuestionId();
    List<QuestionDetailVO> getDetailByQuestionId(Long questionId);
    List<QuestionVO> getQuestionVOList();
}
